import Ledger from '../../index'
import { Select } from 'antd';
function Com({options,placeholder}:any) {
  const { Option } = Select;
  return (
    <div>
      <Select
        placeholder={placeholder}
        allowClear
        style={{ width: 160 }}
      >
        {options.map((option:any)=>(
          <Option value={option.value} key={option.keyid}>{option.sel}</Option>
        ))}
      </Select>
    </div>
  )
}
export default Com